package com.sansan.qiangji.service.inter.system;

import com.sansan.qiangji.entity.system.Power;
import com.sansan.qiangji.form.system.power.PowerListForm;
import com.sansan.qiangji.utils.pageUtils.PageResult;

import java.util.List;

public interface PowerService {
    List<Power> findAllPower();

    PageResult<Power> powerList(PowerListForm powerListForm);

    Power findByPowerId(Integer powerId);

    List<Power> findByPowerName(String powerName);

    int addPower(Power power);

    int updatePower(Power power);

    int deleteById(Integer powerId);
}
